package com.bootdo.system.service.impl;

import com.bootdo.system.dao.CheckTypeDao;
import com.bootdo.system.domain.CheckTypeDO;
import com.bootdo.system.service.CheckTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class CheckTypeServiceImpl implements CheckTypeService {
	@Autowired
	private CheckTypeDao typeDao;
	
	@Override
	public CheckTypeDO get(Long id){
		return typeDao.get(id);
	}
	
	@Override
	public List<CheckTypeDO> list(Map<String, Object> map){
		return typeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return typeDao.count(map);
	}
	
	@Override
	public int save(CheckTypeDO type){
		return typeDao.save(type);
	}
	
	@Override
	public int update(CheckTypeDO type){
		return typeDao.update(type);
	}
	
	@Override
	public int remove(Long id){
		return typeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return typeDao.batchRemove(ids);
	}
	
}
